extends RigidBody2D

onready var animation_player = $AnimationPlayer

func _on_yushui_body_entered(body: Node) -> void:
	animation_player.play("death")
	yield(animation_player, "animation_finished")
	queue_free()
